package com.lgy.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties( prefix = "wechat",ignoreUnknownFields = true)
@Data
public class WechatAccountConfig {

    // 公众平台id
    private String appId;

    // 公众平台密钥
    private String secret;

    // 开放平台id
    private String openAppId;

    // 开放平台密钥
    private String openAppSecret;

    // 商户号
    private String mchId;

    // 商户密钥
    private String mchKey;

    // 商户证书根路径
    private String keyPath;

    // 微信支付异步通知路径
    private String notifyUrl;
}
